#ifndef _DSP_
#define _DSP_

#include "typedef.h"

#ifdef __C51__

typedef struct _KEY_VOICE_T
{
    u16 vol;
    u16 cnt;
    u16 start; 
    u16 end;
} KEY_VOICE_T;


void dsp_set_volume(unsigned short n);
void dsp_set_sr(unsigned short n);
void dsp_set_kv(KEY_VOICE_T _xdata * key_cfg);
#endif

#endif